<p>
  <b>Date:</b>
  <%=h @transaction.date %>
</p>

<p>
  <b>Number:</b>
  <%=h @transaction.number %>
</p>

<p>
  <b>Payee category:</b>
  <%=h @transaction.payee_category %>
</p>

<p>
  <b>Amount:</b>
  <%=h number_to_currency(@transaction.amount) %>
</p>

<p>
  <b>Credit:</b>
  <%=h @transaction.credit %>
</p>

<p>
  <b>Account:</b>
  <%=h @transaction.account.name %>
</p>


<%= link_to 'Edit', edit_transaction_path(@transaction) %> |
<%= link_to 'Back', transactions_path %>
